package com.lq.memo.config;

import lombok.Data;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;

/**
 * @program: memo
 * @description: 备忘录配置
 * @author: LQ
 * @create: 2021-11-05 14:16
 */
@Data
@SpringBootConfiguration
@PropertySource(value = {"classpath:application.yml"})
@ConfigurationProperties(prefix = "lq.email")
public class EmailSendConfig {

    private String emailSendForm = "1801270449@qq.com";
    private String emailPassword = "xehwloeivrufdcbc";
    private String host = "smtp.qq.com";
    private Integer port = 587;
    private String encoding = "utf-8";
    private String socketFactoryClass = "javax.net.ssl.SSLSocketFactory";
    private Integer emailType = 1;
    private String emailTypeName = "QQ邮箱";
}
